import { ChickenHorseContext } from "./context";
import { ChickenHorseModule } from "./module";
import { ChickenHorseMainState } from "./state";

export class ChickenHorseGame extends ChickenHorseModule.Engine {
    protected override buildContext(config: unknown): ChickenHorseContext {
        return new ChickenHorseContext();
    }

    override onStart(): void {
        this.pushState(ChickenHorseMainState);
    }

    override onStop(): void {}
}
